﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="GridViewTest.aspx.vb" Inherits="MembershipProfileTest.GridViewTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    	<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
			DataKeyNames="ID" DataSourceID="SqlDataSource1">
			<Columns>
				<asp:CommandField ShowEditButton="True" />
				<asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" 
					ReadOnly="True" SortExpression="ID" />
				<asp:BoundField DataField="ACFDatabase" HeaderText="ACFDatabase" 
					ReadOnly="True" SortExpression="ACFDatabase" />
				<asp:BoundField DataField="Location" HeaderText="Location" ReadOnly="True" 
					SortExpression="Location" />
				<asp:BoundField DataField="Indicator" HeaderText="Indicator" ReadOnly="True" 
					SortExpression="Indicator" />
				<asp:BoundField DataField="Type" HeaderText="Type" ReadOnly="True" 
					SortExpression="Type" />
				<asp:BoundField DataField="Category" HeaderText="Category" ReadOnly="True" 
					SortExpression="Category" />
				<asp:BoundField DataField="ValueOfficial" HeaderText="ValueOfficial" 
					SortExpression="ValueOfficial" />
				<asp:CheckBoxField DataField="UseUser" HeaderText="UseUser" 
					SortExpression="UseUser" />
				<asp:BoundField DataField="EffectiveDateOfficial" 
					HeaderText="EffectiveDateOfficial" SortExpression="EffectiveDateOfficial" />
				<asp:BoundField DataField="SourceOfficial" HeaderText="SourceOfficial" 
					SortExpression="SourceOfficial" />
				<asp:CheckBoxField DataField="UseUserMethod" HeaderText="UseUserMethod" 
					SortExpression="UseUserMethod" />
				<asp:BoundField DataField="OfficialMethod" HeaderText="OfficialMethod" 
					SortExpression="OfficialMethod" />
			</Columns>
		</asp:GridView>
    
    </div>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
		ConnectionString="<%$ ConnectionStrings:ACFConnectionString %>" 
		SelectCommand="SELECT TOP 100 * FROM [Pricing]"></asp:SqlDataSource>
    </form>
</body>
</html>
